package edu.hwadee.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Cartype entity. @author MyEclipse Persistence Tools
 */

public class Cartype implements java.io.Serializable {

	// Fields

	private Integer cartypeId;
	private Material material;
	private String cartype;
	private String loadType;
	private Set goodses = new HashSet(0);
	private Set carcomplements = new HashSet(0);

	// Constructors

	/** default constructor */
	public Cartype() {
	}

	/** full constructor */
	public Cartype(Material material, String cartype, String loadType, Set goodses, Set carcomplements) {
		this.material = material;
		this.cartype = cartype;
		this.loadType = loadType;
		this.goodses = goodses;
		this.carcomplements = carcomplements;
	}

	// Property accessors

	public Integer getCartypeId() {
		return this.cartypeId;
	}

	public void setCartypeId(Integer cartypeId) {
		this.cartypeId = cartypeId;
	}

	public Material getMaterial() {
		return this.material;
	}

	public void setMaterial(Material material) {
		this.material = material;
	}

	public String getCartype() {
		return this.cartype;
	}

	public void setCartype(String cartype) {
		this.cartype = cartype;
	}

	public String getLoadType() {
		return this.loadType;
	}

	public void setLoadType(String loadType) {
		this.loadType = loadType;
	}

	public Set getGoodses() {
		return this.goodses;
	}

	public void setGoodses(Set goodses) {
		this.goodses = goodses;
	}

	public Set getCarcomplements() {
		return this.carcomplements;
	}

	public void setCarcomplements(Set carcomplements) {
		this.carcomplements = carcomplements;
	}

}